package model;

import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * 返回给前端的封装对象
 */
@Setter
@Getter
public class ResultData {
    private  int state;//状态码
    private Object data;//错误的数据
    private String msg;//错误码
public ResultData(){

}
    public ResultData(int state ,Object data, String msg) {
        this.state=state;
        this.data=data;
        this.msg=msg;
    }
}
